// 此处封装关于存储本地的方法
const key = 'hkzf-my-token'

export const setToken = (newValue) => {
  window.localStorage.setItem(key, newValue)
}

export const getToken = () => {
  return window.localStorage.getItem(key)
}

export const removeToken = () => window.localStorage.removeItem(key)
